const express = require("express")
const {queryArticleForGame} = require("../../../dao")

const router = express.Router()


router.get("/game", async (req, resp) => {
    let result
    try {
        result = await queryArticleForGame()
    } catch (error) {
        result = []
    }
    resp.json(result)
})

module.exports = router